package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_repais")
public class RepaisEs implements Serializable {
    @TableId(value = "repais_id", type = IdType.AUTO)
    private Integer repaisId;

    @TableField(value = "repais_code")
    private String repaisCode;

    /**
     * 设备
     */
    @TableField(value = "facility_name")
    private String facilityName;

    /**
     * 类目
     */
    @TableField(value = "category_id")
    private Integer categoryId;

    /**
     * 区域
     */
    @TableField(value = "repais_area")
    private Integer repaisArea;

    /**
     * 保修人
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 报修原因
     */
    @TableField(value = "repais_content")
    private String repaisContent;

    /**
     * 报修时间
     */
    @TableField(value = "repais_time")
    private Date repaisTime;

    /**
     * 承修人
     */
    @TableField(value = "repais_user_id")
    private Integer repaisUserId;

    /**
     * 状态
     */
    @TableField(value = "repais_status")
    private Integer repaisStatus;

    @TableField(exist = false)
    private Integer currentPage;
    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private String regionName;
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String categoryName;
    @TableField(exist = false)
    private String repairUserName;
    @TableField(exist = false)
    private List<Imgs> imgs;

    @TableField(exist = false)
    private String remark;
    @TableField(exist = false)
    private String timeUnit;


    private static final long serialVersionUID = 1L;
}